import $http from "@/utils/request";

export function userLogin(data) {
  return $http.post('/users/login', data, {
    custom: {
      auth: false
    }
  })
}

export function userLogout() {
  return $http.get('/users/logout')
}